package com.sf.fy.uav.common.request.order;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

/**
 * @author LTQ
 */
@Data
@Validated
public class UpdateStatusRequest {

    @ApiModelProperty("订单Id")
    @NotBlank(message = "订单Id不能为空")
    private String orderId;

    @ApiModelProperty("订单状态，传入想要订单更改为的状态")
    @NotNull(message = "订单状态，传入想要订单更改为的状态不能为空")
    private Integer orderStatus;

    @ApiModelProperty("处理人")
    private String processedBy;
}
